package threadLocal;

public class Util {
    private static ThreadLocal<Message> threadLocal = new ThreadLocal<Message>();
    public static void set(Message message){
        threadLocal.set(message);
    }

    public static Message get(){
        return threadLocal.get();
    }
}
